@extends('admin.base.index')

@section('content')
    <div class="block-area" id="text-input">
        <h3 class="block-title">修改</h3>

          <form action='/admin/order/order/{{ $list->id }}' method='post'>
            <input type='hidden' name='_token' value='{{ csrf_token() }}'>
            <input type='hidden' name='_method' value='PUT'>
            <div class="row">

                <div class="col-lg-4">
                   商品id <input name='id' type="text" class="form-control m-b-10" placeholder="商品id" value='{{ $list->id }}' disabled>
                </div>

                <div class="col-lg-4">
                    商品名<input name='gname' type="text" class="form-control m-b-10" placeholder="姓名" value='{{ $list->gname }}' disabled>
                </div>
                <div class="col-lg-4 ">
                    商品状态 <br>
                    <select style="width:150px;height:30px" class="form-control  m-b-10" name="state">
                    <option value="2" {{ $list->state==2?"selected":"" }}>待发货</option>
                    <option value="3" {{ $list->state==3?"selected":"" }}>已发货</option>
                   </select>
                </div>

                <div class='row'>
                    <div class="col-lg-12">
                        <input type='submit' class='btn' value='修改'>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </form>
    </div>
@stop
